using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysLoginlogTable : TableInfo
{
public const string C_TABLENAME = "Sys_Loginlog";

public const string C_LOGINLOGID = "LOGINLOGID";

public const string C_USERID = "USERID";

public const string C_USERNAME = "USERNAME";

public const string C_LOGINTIME = "LOGINTIME";

public const string C_LOGOUTTIME = "LOGOUTTIME";

public const string C_IPADDRESS = "IPADDRESS";

public const string C_LOGINRESULT = "LOGINRESULT";

public SysLoginlogTable()
{
_tableName = "Sys_Loginlog";
}

protected static SysLoginlogTable _current;
public static SysLoginlogTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysLoginlogTable();

_current.Add(C_LOGINLOGID, new ColumnInfo(C_LOGINLOGID, "", true, typeof(Int32?)));

_current.Add(C_USERID, new ColumnInfo(C_USERID, "", false, typeof(String)));

_current.Add(C_USERNAME, new ColumnInfo(C_USERNAME, "", false, typeof(String)));

_current.Add(C_LOGINTIME, new ColumnInfo(C_LOGINTIME, "", false, typeof(DateTime?)));

_current.Add(C_LOGOUTTIME, new ColumnInfo(C_LOGOUTTIME, "", false, typeof(DateTime?)));

_current.Add(C_IPADDRESS, new ColumnInfo(C_IPADDRESS, "", false, typeof(String)));

_current.Add(C_LOGINRESULT, new ColumnInfo(C_LOGINRESULT, "", false, typeof(String)));

}

public ColumnInfo LOGINLOGID
{
get { return this[C_LOGINLOGID]; }
}

public ColumnInfo USERID
{
get { return this[C_USERID]; }
}

public ColumnInfo USERNAME
{
get { return this[C_USERNAME]; }
}

public ColumnInfo LOGINTIME
{
get { return this[C_LOGINTIME]; }
}

public ColumnInfo LOGOUTTIME
{
get { return this[C_LOGOUTTIME]; }
}

public ColumnInfo IPADDRESS
{
get { return this[C_IPADDRESS]; }
}

public ColumnInfo LOGINRESULT
{
get { return this[C_LOGINRESULT]; }
}

}
}